home *** CD-ROM | disk | FTP | other *** search
- #ifndef __Shell_Check_h
- #define __Shell_Check_h
-
- #ifndef __Shell_h
- #include "Shell.Shell.h"
- #endif
-
- BOOL Shell_CheckWindowSizeScroll( window_handle w, const wimp_rect *rect, BOOL bottomscroll);
- /* This function is called whenever a rectangle is added to a window. */
- /* The window w is resized to include the (workarea coors) rectangle 'rect' */
- /* and, if 'bottomscroll' is TRUE, the window is kept at lowest scroll if */
- /* already there. */
-
-
- #define Shell_CheckWindowSize( w, r) Shell_CheckWindowSizeScroll( w, r, FALSE)
- /* A simple macro - this form is more useful than above. */
-
- void Shell_CheckWindSizeAndRedraw( window_handle window, const wimp_rect *rect);
- void Shell_CheckWindSizeAndRedrawAndScroll( window_handle window, const wimp_rect *rect);
- void Shell_CheckWindSizeAndRedrawSlow( Shell_rectblock *rectblock);
- /* Use this if a rectangle has had its size changed, but any redraws should */
- /* take notice of rectblock->update_time. This is used by Shell_ReLabel(...) */
-
-
- #endif
-